package cn.humaohua.study.yanmo_design_pattern.ch24.v2;

/**
 * Created by hmh on 09/01/2018.
 */
public class CommonMessage extends AbstractMessage {
    public CommonMessage(MessageImplementor impl) {
        super(impl);
    }

    @Override
    public void sendMessage(String message, String toUser) {
        //对于普通消息,什么都不干, 直接调用父类的方法,把消息发送出去就可以了
        super.sendMessage(message, toUser);
    }
}
